home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / makefile.src next >
Encoding:
Makefile  |  1993-08-23  |  1.1 KB  |  44 lines

  1. #
  2. # makefile for directory user-contributed/lbl
  3. #
  4.  
  5. # Subdirectories that get made from user-contributed/lbl
  6. #
  7. # (subdirectories x11, xview and sun are made indirectly through drivers/X,
  8. # drivers/XView and drivers/SunView)
  9.  
  10. #DIRS = lib libscs rlelib tifflib jpeg hips doc hstream
  11.  
  12. # use this line when running separate from standard HIPS2 distribution
  13. DIRS = lib libscs rlelib tifflib jpeg hips hstream doc sun x11 xview
  14.  
  15. TARDIRS = lib libscs rlelib tifflib hips doc x11 xview include sun \
  16.     Configure config.sun4 makefile.hdr makefile.src makefile.tlr \
  17.     README
  18.  
  19. # for insertion into standard HIPS2 distribution
  20. TARDIRS2 = lib libscs rlelib tifflib hips doc x11 xview include sun \
  21.     makefile.src 
  22.  
  23. # default action just makes src dirs
  24.  
  25. all: install
  26.   
  27. clean clean-all install pristine man doc: doit
  28.     @for d in $(DIRS) ; do \
  29.         ( cd $$d ; echo make $@ on $(HERE)$$d ;    \
  30.             make CCS_ROOT=$(TOPDIR)/$(HERE) $(MFLAGS) $@ ) ; \
  31.     done
  32.     @if [ "$@" = "clean-all" ];    then    \
  33.         rm -f Makefile;    fi
  34.  
  35. tar:    doit
  36.     make clean-all
  37.     tar cvf lbl_hips2.tar $(TARDIRS)
  38.  
  39. tar2:    doit
  40.     make clean
  41.     tar cvf lbl_hips2.tar $(TARDIRS2)
  42.  
  43. doit:
  44.